const colorList = ["#9E87FF", "#73DDFF", "#fe9a8b", "#F56948", "#9E87FF"];
export default {
  option:{
    tooltip: {
      trigger: 'axis',
      formatter: '{b0}'
    },
    grid: {
      top: '20%',
      left: '15%',
      right: '3%',
      bottom: '15%',
    },
    xAxis: [
      {
        type: 'category',
        axisLine: {
          show: true,
        },
        splitArea: {
          color: '#f00',
          lineStyle: {
            color: '#f00',
          },
        },
        splitLine: {
          show: false,
        },
        axisLabel: {
          margin: 10,
        },
        boundaryGap: false,
        data: ['1月','2月','3月','4月','5月','6月','7月','8月','9月','10月','11月','12月',],
      },
    ],
  
    yAxis: [
      {
        type: 'value',
        min: 0,
        // max: 140,
        splitNumber: 4,
        splitLine: {
          show: true,
          lineStyle: {
            color: '#e3e3e3',
          },
        },
        axisLine: {
          show: false,
        },
        axisLabel: {
          show: true,
          margin: 20,
          formatter: '{value} ',
        },
        axisTick: {
          show: false,
        },
      },
    ],
    series: [
      {
        name: '023948284 电表1',
        type: 'line',
        smooth: true, //是否平滑
        showAllSymbol: true,
        symbol: 'circle',
        symbolSize: 12,
        lineStyle: {
          normal: {
            color: '#7AA1FF',
          },
        },
        itemStyle: {
          color: '#7AA1FF',
          borderWidth: 3,
          borderColor: '#f3f3f3',
        },
        label: {
          show: true,
          position: 'top',
        },
        data: [],
      },
    ],
  }
}
